﻿using System;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using Water.Web.Controls.BaseInterface;
using System.Web.UI.Design;
using System.Drawing.Design;
using System.Collections;
using System.Drawing;

namespace Water.Web.Controls
{
    [ToolboxData("<{0}:ToolbarSeparator runat=server></{0}:ToolbarSeparator>")]
    public partial class ToolbarSeparator:System.Web.UI.WebControls.WebControl
    {
        public ToolbarSeparator() : base(HtmlTextWriterTag.Div) { }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            PageManager.RegisterPageStyleSheet(this, "ToolbarSeparator_css", "CSS/ToolbarSeparator.css");
        }
        protected override void AddAttributesToRender(HtmlTextWriter writer)
        {
            //base.AddAttributesToRender(writer);
            writer.AddAttribute(HtmlTextWriterAttribute.Class, "toolbar-separeator");
        }
    }
}
